<!-- 后勤权限 -->
<template>
    <el-row>
      <el-col>
        <el-menu
          :router="true"
          default-active="/create-teacher"
          class="el-menu-vertical-demo"
          background-color="#545c64"
          text-color="#fff"
          active-text-color="#ffd04b"
        >
          <el-sub-menu index="1">
            <template #title>
              <el-icon><User /></el-icon>
              <span>学生管理</span>
            </template>
          
            <el-menu-item index="/read-student">
              <template #title>查看学生</template>
            </el-menu-item>
        </el-sub-menu>
        </el-menu>
      </el-col>
    </el-row>
  </template>
  <script setup>
  import { ref } from "vue";
  import { DataAnalysis, Edit, Message ,List} from "@element-plus/icons-vue";
  let updataTeacherUrl = "/updata-student?id=" + localStorage.id;
  </script>
  <style scoped lang="scss">
  .el-row {
    user-select: none;
    width: 200px;
    height: 100vh;
    background: #545c64;
    position: fixed;
    top: 0px;
    left: 0px;
  }
  .el-menu {
    border: 0px;
  }
  </style>
  